﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace XbdSoft.Contract
{
    [ServiceContract] 
    public interface IAccountService
    {
        [OperationContract]
        string GetForgotPasswordUrl();

        [OperationContract]
        string GetRegisterUrl();

        [OperationContract]
        bool Login(string userName, string password);

        [OperationContract]
        string EncryptByMD5(string text);
    }
}
